package cn.dinxian.activiti.demo2.controller;

import cn.dinxian.activiti.demo2.mapper.ActReDeploymentMapper;
import cn.dinxian.entity.ActReDeploymentVO;
import java.util.List;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author dingxian
 * @Title:
 * @param:
 * @return:
 * @Date 2023/3/14 20:41
 * @Description:
 */
@RestController
@RequestMapping("Deployment-provider")
@Slf4j
public class MyDeploymentController {
  @Autowired
  private ActReDeploymentMapper actReDeploymentMapper;

  @PostMapping( "/selectDeployment")
  public List<ActReDeploymentVO> selectDeployment(@RequestBody ActReDeploymentVO dto){
    return actReDeploymentMapper.selectActReDeploymentByIds(dto.getSetid());
  }
  

   

}
